
/**
 * This program describes all Java operators and ansers the following questions
 * How many arithmetic operators are there in Java?
 * How many relational operators are there in Java?
 * How many bitwise operators are there in Java?
 * How many logical operators are there in Java?
 * How many assignment operators are there in Java?
 * How many miscellaneous operators are there in Java?
 

 * @author (your name) 
 * @version (a version number or a date)
 */
public class A9_3
{
    public static void main(String[] args)
    {
       System.out.println("Java has one Simple Assignment Operator");
       System.out.println("   =    is a Simple Assignment Operator");
       
       System.out.println("Java has five Arithmetic Operator");
       System.out.println("+ is a Additive Operator also known as String concatenation");
       System.out.println("- is a Subtraction Operator");
       System.out.println("* is a Multiplication Operator");
       System.out.println("/ is a Division Operator");
       System.out.println("% is a Remainder Operator");
       
       System.out.println("Java has five Unary Operator");
       System.out.println("+ is a Unary Plus Operator indicates positive value");
       System.out.println("- is a Unary minus Operator");
       System.out.println("++ is a Increment Operator");
       System.out.println("-- is a Decrement Operator");
       System.out.println("! is a Logical complement Operator");
       
       System.out.println("Java has six Equality and Relational Operator");
       System.out.println("== is Equal to");
       System.out.println("!= is not equal to");
       System.out.println("> is grater than");
       System.out.println(">= is grater than or equal to");
       System.out.println("< is Less than");
       System.out.println("<= is Less than or equal to");
       
       System.out.println("Java has three Conditional Operator");
       System.out.println("&& is Conditional - AND");
       System.out.println("|| is Conditional-OR");
       System.out.println("?: is Ternary(short hand for if-then-else statement"); 
       
       System.out.println("Java has One Comparison Operator");
       System.out.println("instanceof is compares an object to a specified one");
       
       System.out.println("Java has seven Bitwise and Bit Shift Operators Operator");
       System.out.println("~ is Unary bitwise complement");
       System.out.println("<< is Signed left shift");
       System.out.println(">> is Signed right shift");
       System.out.println(">>>> is Unsigned right shift");
       System.out.println("& is Bitwise AND");
       System.out.println("^ is Bitwise exclusive OR");
       System.out.println("| is Bitwise inclusive OR");
       
       
       
    }
}
/*
 * my test session:
 * Java has one Simple Assignment Operator
   =    is a Simple Assignment Operator
Java has five Arithmetic Operator
+ is a Additive Operator also known as String concatenation
- is a Subtraction Operator
* is a Multiplication Operator
/ is a Division Operator
% is a Remainder Operator
Java has five Unary Operator
+ is a Unary Plus Operator indicates positive value
- is a Unary minus Operator
++ is a Increment Operator
-- is a Decrement Operator
! is a Logical complement Operator
Java has six Equality and Relational Operator
== is Equal to
!= is not equal to
> is grater than
>= is grater than or equal to
< is Less than
<= is Less than or equal to
Java has three Conditional Operator
&& is Conditional - AND
|| is Conditional-OR
?: is Ternary(short hand for if-then-else statement
Java has One Comparison Operator
instanceof is compares an object to a specified one
Java has seven Bitwise and Bit Shift Operators Operator
~ is Unary bitwise complement
<< is Signed left shift
>> is Signed right shift
>>>> is Unsigned right shift
& is Bitwise AND
^ is Bitwise exclusive OR
| is Bitwise inclusive OR

 */